3.1.50 \(\int \frac {a+b x}{x^4} \, dx\) [50]

Optimal. Leaf size=17 \[ -\frac {a}{3 x^3}-\frac {b}{2 x^2} \]

[Out]

-1/3*a/x^3-1/2*b/x^2

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {45} \begin {gather*} -\frac {a}{3 x^3}-\frac {b}{2 x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)/x^4,x]

[Out]

-1/3*a/x^3 - b/(2*x^2)

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int \frac {a+b x}{x^4} \, dx &=\int \left (\frac {a}{x^4}+\frac {b}{x^3}\right ) \, dx\\ &=-\frac {a}{3 x^3}-\frac {b}{2 x^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 17, normalized size = 1.00 \begin {gather*} -\frac {a}{3 x^3}-\frac {b}{2 x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)/x^4,x]

[Out]

-1/3*a/x^3 - b/(2*x^2)

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 14, normalized size = 0.82

method result size
norman \(\frac {-\frac {b x}{2}-\frac {a}{3}}{x^{3}}\) \(13\)
risch \(\frac {-\frac {b x}{2}-\frac {a}{3}}{x^{3}}\) \(13\)
gosper \(-\frac {3 b x +2 a}{6 x^{3}}\) \(14\)
default \(-\frac {a}{3 x^{3}}-\frac {b}{2 x^{2}}\) \(14\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)/x^4,x,method=_RETURNVERBOSE)

[Out]

-1/3*a/x^3-1/2/x^2*b

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 13, normalized size = 0.76 \begin {gather*} -\frac {3 \, b x + 2 \, a}{6 \, x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x^4,x, algorithm="maxima")

[Out]

-1/6*(3*b*x + 2*a)/x^3

________________________________________________________________________________________

Fricas [A]
time = 0.60, size = 13, normalized size = 0.76 \begin {gather*} -\frac {3 \, b x + 2 \, a}{6 \, x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x^4,x, algorithm="fricas")

[Out]

-1/6*(3*b*x + 2*a)/x^3

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 14, normalized size = 0.82 \begin {gather*} \frac {- 2 a - 3 b x}{6 x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x**4,x)

[Out]

(-2*a - 3*b*x)/(6*x**3)

________________________________________________________________________________________

Giac [A]
time = 1.44, size = 13, normalized size = 0.76 \begin {gather*} -\frac {3 \, b x + 2 \, a}{6 \, x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x^4,x, algorithm="giac")

[Out]

-1/6*(3*b*x + 2*a)/x^3

________________________________________________________________________________________

Mupad [B]
time = 0.03, size = 13, normalized size = 0.76 \begin {gather*} -\frac {2\,a+3\,b\,x}{6\,x^3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)/x^4,x)

[Out]

-(2*a + 3*b*x)/(6*x^3)

________________________________________________________________________________________